package com.woniu.outpatient.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药单详情表对象 druglist
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Druglist extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long druglistId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long druglistNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long prescriptionId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long drugId;

    public void setDruglistId(Long druglistId) 
    {
        this.druglistId = druglistId;
    }

    public Long getDruglistId() 
    {
        return druglistId;
    }
    public void setDruglistNum(Long druglistNum) 
    {
        this.druglistNum = druglistNum;
    }

    public Long getDruglistNum() 
    {
        return druglistNum;
    }
    public void setPrescriptionId(Long prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Long getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("druglistId", getDruglistId())
            .append("druglistNum", getDruglistNum())
            .append("prescriptionId", getPrescriptionId())
            .append("drugId", getDrugId())
            .toString();
    }
}
